<?php
namespace Home\Controller;
use Think\Controller;
header("Content-type: text/html; charset=utf-8"); 
class PageController extends Controller {
    public function help(){
        $m = M("cate");
        $cateList1 = $m->where('fid = 1')->select();
        $cateList2 = $m->where('fid = 2')->select();
        $this->assign('cateList1',$cateList1);
        $this->assign('cateList2',$cateList2);
        
    	$this->display();
    }

    public function connection(){
    	$m = M("cate");
        $cateList1 = $m->where('fid = 1')->select();
        $cateList2 = $m->where('fid = 2')->select();
        $this->assign('cateList1',$cateList1);
        $this->assign('cateList2',$cateList2);
        
    	$this->display();
    }
}   